﻿@model IEnumerable<WeberTimeTracker.Models.InvoicedHours>

@{
    ViewBag.Title = "Edit";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Edit</h2>

<table>
    <tr>
        <th>
            Client Name
        </th>
        <th>
            Project
        </th>
        <th>
            Hours
        </th>
        <th>
            Rate
        </th>
        <th>
            Pay
        </th>
        <th>
            Invoiced
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.HiddenFor(modelItem => item.Client_ID)
            @Html.DisplayFor(modelItem => item.Client_Name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Project_Name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Hours)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Rate)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Pay)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Invoiced)
        </td>
    </tr>
}

</table>


<div>
    @Html.ActionLink("Back to List", "Index")
</div>
